// 作者基本信息显示
class AuthorBasicInfo {
  final int id;
  final String realname;
  final String avatar;

  AuthorBasicInfo({this.id, this.realname, this.avatar});

  factory AuthorBasicInfo.init(Map<String, dynamic> json){
    return AuthorBasicInfo(
        id: json['id'],
        realname: json['realname'],
        avatar: json['avatar']
    );
  }
}